package com.gale.park.modules.ums.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gale.park.modules.ums.model.UmsAdminRoleRelation;

import java.util.List;

/**
 * 管理员角色关系管理Service
 * Created by macro on 2020/8/21.
 */
public interface UmsAdminRoleRelationService extends IService<UmsAdminRoleRelation> {
    // 根据用户id查询所拥有的角色id
    Boolean findRole(Long id);


    boolean add(Long id, Long roleId);
}
